package com.aceleeyy.apb.controller;

import com.aceleeyy.apb.base.BaseController;
import com.aceleeyy.apb.model.TOrder;
import com.aceleeyy.apb.service.OrderService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 订单管理-消费者
 *
 * @author Ace Lee
 * @version 1.0
 * @date 2020/8/10 10:34
 **/
@Api(tags = "订单管理")
@RestController
@RequestMapping("/orders")
public class OrderController extends BaseController<TOrder> {

    @Autowired
    private OrderService service;

    @Override
    protected String uri() {
        return OrderService.BASE_URI;
    }
}
